package com.training.java.core.inheritance;

public class Printer extends LapTop {
	
	
	
	void Print()
	{
		System.out.println(" i'm deriving from Laptop");
		PrintDocuments("TAX");
		start();
		
	}
	
	void stop()
	{
	
		System.out.println("Printer has stoped");
	}
	
	
	
	void PrintDocuments(String typeOfDocument)
	{
		System.out.println(" printing from print class");
	}
	
	void  hasWifi()
	
	{
		System.out.println("Print from anywhere");
	
	}
	}
	

